-- GENERATED SPELL FOR [Blazing Invader] --


function spell0_14460(pUnit, Event) --@Blast Wave,Self--
pUnit:FullCastSpellOnTarget(23113,pUnit)
pUnit:RegisterEvent('Sorts_14460', 6326, 1)
end

function Sorts_14460(pUnit, Event)
local choix_sorts_14460 = math.random(0, 0)
if choix_sorts_14460 == 0 then
pUnit:RegisterEvent('spell0_14460', 1, 1)
end
end

function mob14460_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14460', math.random(1500, 3000), 1)
end

function mob14460_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14460_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14460_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14460, 1, 'mob14460_Action')
RegisterUnitEvent(14460, 2, 'mob14460_Leave')
RegisterUnitEvent(14460, 3, 'mob14460_Kill')
RegisterUnitEvent(14460, 4, 'mob14460_Die')
